//定义layout的admin的view视图路由

import { RouteRecordRaw } from "vue-router";

export default  
     {
        name:"blogger",path:'/blogger',component:()=>import("@/layouts/blogger.vue"),
       
       meta: { auth: true,},
        children:[
            {name:'blogger.content',
            path:'content',
            component:()=>import("@/views/blogger/content.vue"),
           
           children:[
            //博客文章的具体
            {
                name:'blogger.content.show',
                path:"show",
                component:()=>import("@/views/blogger/route_child/bok_show_router.vue")
           },
           //博客文章的展示
           {
            name:'blogger.content.index',
            path:"index",
            component:()=>import("@/views/blogger/route_child/bok_title_route.vue")
        
           },
                 {
                name:'blogger.content.search',
                path:"search",
                component:()=>import("@/views/blogger/route_child/searchView.vue")
           },
           //发帖交流
           {
            name:'blogger.content.create',
            path:'create',
            component:()=>import("@/views/blogger/route_child/create.vue")
           },
             //签到
             {
                name:'blogger.content.sign',
                path:'sign',
                component:()=>import("@/views/blogger/route_child/sign.vue")
               },
           //个人主页
           {
            name:'blogger.content.selfInfo',
            path:"selfInfo",
            component:()=>import("@/views/userInfo/selfInfo.vue")
            ,
            //主页的 帖子 点赞 粉丝
            children:[
                {   name:'blogger.content.selfInfo.post',
                path:"post",
                component:()=>import("@/views/userInfo/route_child/selfPost.vue")
                } ,
                //收藏
               {   name:'blogger.content.selfInfo.collection',
                   path:"collection",
                   component:()=>import("@/views/userInfo/route_child/slefCollection.vue")
              } ,
              //关注
        {   name:'blogger.content.selfInfo.attention',
                path:"attention",
                component:()=>import("@/views/userInfo/route_child/selfAttention.vue")
            } ,
            //粉丝
            {   name:'blogger.content.selfInfo.fans',
            path:"fans",
            component:()=>import("@/views/userInfo/route_child/selfFans.vue")
        } ,
            ]
           }
           ]   
        }
        ],

    } as RouteRecordRaw
